<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>vip页面</h1>
<span>
    <a th:if="${session.loginUser == null}" href="http://xiaoger.cn:9000/view/login?target=http://xiaoger.cn:9020/view/vip"> 登录</a>
    <a th:unless="${session.loginUser == null}" href="http://xiaoger.cn:9000/login/loginOut?target=http://xiaoger.cn:9020/view/vip"> 退出</a>
</span>
<p th:unless="${session.loginUser == null}">
    <span style="color: red" th:text="${session.loginUser.userName}"></span>|已登录
</p>
</body>
</html>